﻿namespace EasyToolkit.Excel.ContextualMenus
{
    using System.Collections.Generic;
    using Microsoft.Office.Interop.Excel;

    public delegate IEnumerable<IContextualMenu> ContextualMenuManagerHandler(Worksheet sheet, Range range); 

    public interface IContextualMenuManager
    {
        void RegisterWorkbook(Workbook workbook);
        void UnRegisterWorkbook(Workbook workbook);

        event ContextualMenuManagerHandler ContextualMenusManager;
    }
}
